package com.example.demo.service;

import com.example.demo.entity.StudentInfo;
import com.example.demo.service.impl.PageRequest;
import com.example.demo.service.impl.PageResult;

import java.util.List;

public interface StudentService {
    public PageResult<StudentInfo> getStudentInfoByPage(PageRequest pageRequest);
    public List<StudentInfo> getStudentInfo();
    public StudentInfo getStudentInfoById(Integer id);
    public int deleteStudentInfoById(Integer id);
    int insertStudentInfo(StudentInfo studentInfo);

    int updateStudentInfo(StudentInfo studentInfo);

}
